<?php
if($_COOKIE['user_id']&&$_COOKIE['user_name'])
{
     $per_rs=mysql_query("select id,m_mode,m_sh,m_user,m_type from member where id=".$_COOKIE['user_id']." and m_user='".$_COOKIE['user_name']."'");
	 $per_row=mysql_fetch_array($per_rs);
}
else
{
    echo "<script>location='/tuoguan/';</script>";
}
include(PHPCMS_ROOT."mailcontent.php");
?>